projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d29c1d
)
stylecontext: Fix list_classes() after optimization
author
Garrett Regier
<garrettregier@gmail.com>
Fri, 11 Sep 2015 16:46:34 +0000
(09:46 -0700)
committer
Garrett Regier
<garrettregier@gmail.com>
Fri, 11 Sep 2015 16:48:38 +0000
(09:48 -0700)
Otherwise a junk value is returned.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index 643a17b8965a673ceb2d703788d07532a6c0bcbb..ddc0d11a69dabefe67bdfe431035748e37a72e7d 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-1391,7
+1391,7
@@
GList *
gtk_style_context_list_classes (GtkStyleContext *context)
{
GtkStyleContextPrivate *priv;
- GList *classes_list;
+ GList *classes_list
= NULL
;
const GQuark *classes;
guint n_classes, i;
const gchar *quark_str;